package com.niit.session13.homework;

public class Array {
	public static void main(String[] args) {
		int[] a = { 7, 12, 4, 9, 6, 3, 9 };
		int[] b = { 2, 6, 3, 54, 2, 56, 21, 33 };
		int[] c = new int[a.length + b.length];

		for (int i = 0; i < a.length; i++) {
			c[i] = a[i];
		}
		for (int i = 0; i < b.length; i++) {
			c[i+a.length] = c[i];

		}
		for (int i : c) {
			System.out.println(i);
		}
	}

}
